<div>
    <hr>
    <ul class="breadcrumb">
        <li>
            <a href="#">Home</a> <span class="divider">/</span>
        </li>
        <li>
            <a href="#">Booked</a>
        </li>
    </ul>
    <hr>
</div>

<div class="row-fluid sortable">		
         <div class="box span12">
                <div class="box-header" data-original-title>
                    <h2><i class="icon-user"></i><span class="break"></span>Booked Management</h2>
                    <div class="box-icon">
                        <a href="<?php  echo Yii::app()->createAbsoluteUrl($parentUrl.'/create');   ?>"><i class="icon-plus-sign"></i></a>
                        <a href="#" class="btn-setting"><i class="icon-wrench"></i></a>
                        <a href="#" class="btn-minimize"><i class="icon-chevron-up"></i></a>
                        <a href="#" class="btn-close"><i class="icon-remove"></i></a>
                    </div>
                </div>
                <div class="box-content">
                        <table class="table table-striped table-bordered bootstrap-datatable datatable">
                                <thead>
                                    <tr>
                                        <th>Username</th>
                                        <th>Date registered</th>
                                        <th>Role</th>
                                        <th>Status</th>
                                        <th>Actions</th>
                                    </tr>
                                </thead>   
                                <tbody>
                                    <?php 
                                                    if(count($data)>0):
                                                        foreach($data as $item) :
                                     ?>                  
                                    <tr>
                                        <td>Anton Phunihel</td>
                                        <td class="center">2012/01/01</td>
                                        <td class="center">Member</td>
                                        <td class="center">
                                            <span class="label label-success">Active</span>
                                        </td>
                                        <td class="center">
                                            <a class="btn btn-success" href="<?php echo Yii::app()->createAbsoluteUrl($parentUrl.'/view',array('id'=>$item->id));  ?>">
                                                <i class="icon-zoom-in icon-white"></i>  
                                            </a>
                                            <a class="btn btn-info" href="<?php echo Yii::app()->createAbsoluteUrl($parentUrl.'/update',array('id'=>$item->id));  ?>">
                                                <i class="icon-edit icon-white"></i>  
                                            </a>
                                            <a class="btn btn-danger" href="<?php echo Yii::app()->createAbsoluteUrl($parentUrl.'/delete',array('id'=>$item->id));  ?>">
                                                <i class="icon-trash icon-white"></i> 
                                            </a>
                                        </td>
                                    </tr>
                                    <?php endforeach; endif;  ?> 
                                </tbody>
                      </table>            
          </div>
    </div><!--/span-->
</div><!--/row-->